home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Tcl_Merge Tcl Command Language Library Tcl_Merge
-
-
-
- _________________________________________________________________
-
- NNAAMMEE
- Tcl_Merge - generate a Tcl list from a collection of strings
-
- SSYYNNOOPPSSIISS
- ##iinncclluuddee <<ttccll..hh>>
-
- char *
- TTccll__MMeerrggee(_a_r_g_c, _a_r_g_v)
-
- AARRGGUUMMEENNTTSS
- int _a_r_g_c (in) Number of strings.
-
- char *_a_r_g_v[] (in) Array of strings to com-
- bine into list. Must
- have _a_r_g_c entries.
-
- _________________________________________________________________
-
-
- DDEESSCCRRIIPPTTIIOONN
- TTccll__MMeerrggee is a utility procedure used by several of the Tcl
- commands. Given a collection of strings, it generates a
- result string that has proper list structure, such that the
- iinnddeexx Tcl command may be used to extract out the original
- strings. In order to do this, TTccll__MMeerrggee may have to add
- braces and/or backslashes. The result string is dynamically
- allocated using mmaalllloocc(()); the caller must eventually
- release the space using ffrreeee(()).
-
-
- KKEEYYWWOORRDDSS
- list, strings
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sprite v.1.0 Printed: May 2, 1991 1
-
-
-
-